package com.charles.utils;

import lombok.Data;

@Data
public class ExcelValidateDto<T> {

    private T t;

    private String errMsg;

    private Integer lineNumber;

    public ExcelValidateDto(T t, Integer lineNumber, String errMsg) {
        this.t = t;
        this.errMsg = errMsg;
        this.lineNumber = lineNumber;
    }

    public ExcelValidateDto(T t, Integer lineNumber) {
        this.t = t;
        this.lineNumber = lineNumber;
    }
}